using System.Threading.Tasks;
using Book.Blog.Core.DTOs;

namespace Book.Blog.Core.Interfaces
{
    public interface IEmailService
    {
        Task SendEmailAsync(EmailMessageDTO message);
        Task SendEmailWithTemplateAsync(string to, string templateName, object model);
    }
} 